package com.ceshiren.springstudy.service.impl;


import com.ceshiren.springstudy.dto.UserDto;
import com.ceshiren.springstudy.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service("userImp")
public class UserServiceImpl implements UserService {


    @Override
    public String postMethodDemo1(UserDto userDto) {
        System.out.println(userDto.toString());
        return "用户名：" + userDto.getUsername() + "，密码：" + userDto.getPassword();
    }
}
